<p>
<div style="text-align:center">
<% if @start %>
<%if @count.to_s.to_i>0 %>
<% if @start.to_i>1 %>
<%= link_to (image_tag "previous.png"), :controller => 'watermark',:action => "sru", :sru => {:name => @name}, :start => @previous %>
<%end%>


<%= link_to (image_tag "first.png"), :controller => 'watermark',:action => "sru", :sru => {:name => @name}, :start => 1 %>


<%@actual.each do |p| %>
<% if p.to_i==@start.to_i %><b>
<%= @pager.index(p)+1 %></b>
<%else%>
<%= link_to @pager.index(p)+1, :controller => 'watermark',:action => "sru", :sru => {:name => @name}, :start => p %>
<%end%>
<%end%>



<%= link_to (image_tag "last.png"), :controller => 'watermark',:action => "sru", :sru => {:name => @name}, :start => @count.to_s.to_i/20*20+1 %>
<%if @next%>
<%= link_to (image_tag "next.png"), :controller => 'watermark',:action => "sru", :sru => {:name => @name}, :start => @next %>
<%end%>


<%end%>
<%end%>
</div>
</p>